home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / autolog.arc / AUTOLOG.DOC next >
Encoding:
Text File  |  1990-01-05  |  13.6 KB  |  521 lines

  1. «RM80»
  2.  
  3.  
  4.                                      AUTOLOG
  5.  
  6.  
  7.  
  8.                                Version 1.00 Manual
  9.  
  10.  
  11.  
  12.                       Copyright (c) 1990 by David A. Seidel
  13.                               All rights reserved.
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.         
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. -----------------------------------------------------------------
  66.         AUTOLOG                                                    Page 1
  67.         Overview/Features
  68.         -----------------
  69.  
  70.         AUTOLOG is a Telix utility program that builds SALT scripts for
  71.         automatic logging onto bulletin board and other on-line systems.
  72.  
  73.         While there exist other similar programs for Telix, AUTOLOG goes
  74.         a bit further.  Here are some of AUTOLOG's features:
  75.         ∙   You can run AUTOLOG either with Alt-G or by linking it to a
  76.             directory entry.
  77.         ∙   AUTOLOG takes the name of the logon script file it creates
  78.             directly from the name of the directory entry.
  79.         ∙   You can take a "snap-shot" of any on-line prompt.
  80.         ∙   You can record single-character responses (including Ctrl-C),
  81.             as well as longer responses, even ones that don't end by
  82.             pressing ENTER.
  83.         ∙   Once you have finished recording prompts and responses, you
  84.             can make AUTOLOG suspend operation until you go off-line.
  85.             Then, AUTOLOG will automatically update the dialing direc-
  86.             tory, making the new logon script the linked script for the
  87.             entry.  After that, AUTOLOG actually compiles the script.
  88.             You don't have to do any more--you're set up for automatic
  89.             logon next time you call the number.
  90.         ∙   AUTOLOG keeps track of how much time elapses between prompts,
  91.             which means that an accurate logon script is created.
  92.         ∙   If you have your sound turned off, logon scripts generated by
  93.             AUTOLOG display a "visual bell" on connection.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.         
  126.  
  127.  
  128.  
  129.  
  130.  
  131. -----------------------------------------------------------------
  132.         AUTOLOG                                                    Page 2
  133.         Included Files
  134.         --------------
  135.  
  136.         These are the files that are included in the AUTOLOG archive:
  137.  
  138.         AUTOLOG.SLC             The compiled AUTOLOG program.
  139.  
  140.         AUTOLOG.DOC             This file.
  141.  
  142.         VBELL.SLT               A utility that provides a visual "ring"
  143.                                 for phone connections, for those who like
  144.                                 to keep the sound off.
  145.  
  146.         VBELL.SLC               Compiled version of above.
  147.  
  148.  
  149.  
  150.         Installation
  151.         ------------
  152.  
  153.         Just copy AUTOLOG.SLC, VBELL.SLC, and VBELL.SLT into your Telix
  154.         script directory.  The Telix SALT compiler, CS.EXE, must be
  155.         either in the directory from which you run Telix, or (preferably)
  156.         in your PATH.
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.         
  192.  
  193.  
  194.  
  195.  
  196.  
  197. -----------------------------------------------------------------
  198.         AUTOLOG                                                    Page 3
  199.         Starting AUTOLOG -- Option 1
  200.         ----------------------------
  201.  
  202.         The first way to start AUTOLOG is to press Alt-G, type "autolog"
  203.         and press ENTER.  After the opening message, you will be prompted
  204.         for the number of the directory entry to dial.  Type the entry
  205.         number and press ENTER.
  206.  
  207.         If you press ESC, press ENTER while the field is empty, or type
  208.         an invalid entry number, AUTOLOG will abort.
  209.  
  210.         If the entry you want to dial has no name, you will be prompted
  211.         for the name to use for the new logon script.  You can type up to
  212.         eight characters (no extension).  You can use any legal DOS file
  213.         name.  Press ENTER to continue.
  214.  
  215.         See "Using AUTOLOG" for what to do next.
  216.  
  217.  
  218.         Starting AUTOLOG -- Option 2
  219.         ----------------------------
  220.  
  221.         The other way to start AUTOLOG is to link it to the directory
  222.         entry for which you want to generate a logon script.  (Press Alt-
  223.         D, select the entry, press 'e' for (E)dit, press ENTER until you
  224.         get to the "Linked script" field, type "autolog", then press
  225.         ENTER until the editing window is gone.) Then (D)ial the number.
  226.  
  227.         Once the connection has been made, AUTOLOG will proceed, unless
  228.         the entry has no name.  In that case, you will be prompted for
  229.         the name to use for the new logon script.  You can type up to
  230.         eight characters (no extension).  You can use any legal DOS file
  231.         name.  Press ENTER to continue.
  232.  
  233.         See "Using AUTOLOG" for what to do next.
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.         
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263. -----------------------------------------------------------------
  264.         AUTOLOG                                                    Page 4
  265.         Using AUTOLOG
  266.         -------------
  267.  
  268.         AUTOLOG displays status messages on Telix's status line.  Once
  269.         on-line, AUTOLOG essentially has four operating "states," each of
  270.         which has its own status message and its own special keys.  The
  271.         message displayed always tells you what state AUTOLOG is in and
  272.         what special keys are valid at that moment.  AUTOLOG makes a
  273.         noise whenever the state changes.  These are the messages, with
  274.         explanations of what to do when you see them:
  275.  
  276.         "Dispaying: press ESC to quit"
  277.  
  278.             AUTOLOG is just displaying whatever is coming in over your
  279.             modem.  It will do this until there is a pause, or until the
  280.             on-line program waits for input.  If you press ESC, AUTOLOG
  281.             will suspend operation until you go off-line.
  282.  
  283.         "Waiting: press INS, SPACE, or ESC"
  284.  
  285.             The on-line program has either paused for ten seconds or
  286.             more, or is waiting for you to type something.  You have
  287.             three choices here:
  288.             ∙   If a response is expected, press INS to record the
  289.                 prompt.   This brings you to the "Recording prompt"
  290.                 state, below.
  291.             ∙   If the on-line program is just pausing, press SPACE to
  292.                 display more.  This brings you back to the "Displaying"
  293.                 state.  If the on-line program pauses a lot, you may have
  294.                 to repeat this step a few times.
  295.             ∙   If the on-line program is pausing, and you have already
  296.                 recorded everything you need to log on, press ESC.
  297.                 AUTOLOG will suspend operation until you go off-line.
  298.  
  299.         "Recording prompt"
  300.  
  301.             AUTOLOG is recording the on-line program's prompt.  This is
  302.             pretty fast, so the message will only appear briefly.  This
  303.             brings you to the next state, below.
  304.  
  305.         "Recording you: press END when done"
  306.  
  307.             The on-line program expects you to type something and you
  308.             have just recorded the prompt.  Just type whatever you have
  309.             to type, including ENTER, if necessary.  If the on-line
  310.             program wants a single character, an ESC or a Ctrl-C, that's
  311.             OK too.
  312.  
  313.             **IMPORTANT** -- When you have typed your complete response,
  314.             press END.  Your response will not be sent to the on-line
  315.             program until you do so.  Afterward, AUTOLOG will return to
  316.             the "Displaying" state.
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.         
  325.  
  326.  
  327.  
  328.  
  329. -----------------------------------------------------------------
  330.         AUTOLOG                                                    Page 5
  331.         Using AUTOLOG (cont'd)
  332.         ----------------------
  333.  
  334.         So, this is the basic sequence once you're on-line:
  335.  
  336.           1)    Let the program display, pressing SPACE if necessary,
  337.                 until you see a prompt that you have to respond to.  If
  338.                 you've finished recording everything you need to log on,
  339.                 press ESC.
  340.           2)    Press INS to record the prompt.
  341.           3)    Type your response and press END.
  342.           4)    Repeat from step 1.
  343.  
  344.         That's it!
  345.  
  346.         When you go off-line, this is what AUTOLOG does:
  347.  
  348.           1)    A backup copy is made of the phone directory (i.e.,
  349.                 TELIX.FON is copied to TELIX.BAK).
  350.           2)    The phone directory entry for the number you called is
  351.                 modified so that the logon script that AUTOLOG wrote is
  352.                 linked to that entry.
  353.           3)    The phone directory is reloaded.
  354.           4)    The new logon script is compiled.
  355.  
  356.         AUTOLOG prints messages on the screen to confirm the success or
  357.         failure of each of these steps.  Error messages always start with
  358.         "***".
  359.  
  360.  
  361.         Things To Know
  362.         --------------
  363.  
  364.         ∙   When AUTOLOG is in the "Displaying" state, things are dis-
  365.             played on the screen slower than they would otherwise.  This
  366.             should not cause any problems, except possibly when display-
  367.             ing very complex full-screen ANSI pictures at 2400 baud, in
  368.             which case these may be too much input for AUTOLOG to handle.
  369.             If this occurs, try logging in at a slower baud rate with
  370.             AUTOLOG.  I use AUTOLOG at 2400, and I have rarely have any
  371.             problems.  However, I can't guarantee that AUTOLOG will work
  372.             properly at speeds above 2400 baud.  In any case, once you
  373.             suspend AUTOLOG by pressing ESC, Telix takes over the screen
  374.             display again, and everything comes back up to speed.
  375.  
  376.         ∙   If you don't like the sound that AUTOLOG makes when it
  377.             changes states, just use the Alt-O menu to turn sound off in
  378.             Telix.
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.         
  393.  
  394.  
  395. -----------------------------------------------------------------
  396.         AUTOLOG                                                    Page 6
  397.         AUTOLOG Logon Scripts
  398.         ---------------------
  399.  
  400.         A few notes about the scripts generated by AUTOLOG:
  401.  
  402.         ∙   When AUTOLOG creates a logon script, it uses the first word
  403.             in the name of the entry being called (if there is a name
  404.             there); if the word is longer than 8 characters, only the
  405.             first 8 are used.  If that first word is an article (a, an,
  406.             the, etc.) or if it is only one or two characters long, you
  407.             might want to change the name before running AUTOLOG to get a
  408.             more descriptive name for the logon script.  For example, you
  409.             could change the first space to an underscore (_).  Alter-
  410.             nately, you could let AUTOLOG run, and change the file name
  411.             later, but then you have update the dialing directory too.
  412.  
  413.         ∙   You may find it necessary under some circumstances to edit
  414.             and recompile a generated logon file.  For example, you might
  415.             mess up your on-line responses.  In this case, AUTOLOG will
  416.             faithfully record whatever happens, so you would probably
  417.             want to go in and delete any mistakes.
  418.  
  419.         ∙   AUTOLOG keeps track, while on-line, of the elapsed time
  420.             between responses, and uses that information to generate
  421.             accurate waitfor() statements in the logon file.  These
  422.             timings may not be optimal, especially if the on-line program
  423.             paused a lot, so adjust them if necessary.
  424.  
  425.         ∙   If you don't like the visual bell, delete the lines that say:
  426.                 if (!_sound_on)
  427.                         call("vbell");
  428.             Or, change VBELL.SLT to do something else.
  429.  
  430.         
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461. -----------------------------------------------------------------
  462.         AUTOLOG                                                    Page 7
  463.         Registration
  464.         ------------
  465.  
  466.         I know, I know, you're saying "Why should I bother registering?"
  467.         Well, there are several good reasons:
  468.         ∙   AUTOLOG is a good program.  It will save you a lot of time
  469.             and make your life easier.
  470.         ∙   You'll feel much better if you do.
  471.         ∙   You can get source code, updates, and maybe other stuff too
  472.             (see below).
  473.  
  474.         To register, just mail me with a check for $8.00, along with your
  475.         address, phone number and E-mail address, and what kind of disk
  476.         you want (5.25 or 3.5).  If you register, I will send you a ver-
  477.         sion of AUTOLOG that doesn't have the repeating message at the
  478.         end, with complete SALT source code.  This version will also
  479.         incorporate any changes and/or improvements that I've since made
  480.         in the program.  The disk may also contain new Telix (or related)
  481.         stuff that I've written in the meantime.  For example, I'm now
  482.         working on a program to capture ANSI graphics screens with all
  483.         escape codes and save them to disk.  Also, if I update AUTOLOG
  484.         after you register, I'll send you the update free.
  485.  
  486.         In any case, I hope you enjoy the program and get some use out of
  487.         it.  I welcome all comments and suggestions.
  488.  
  489.  
  490.                                      Dave Seidel
  491.                                   9 Glenwood Blvd.
  492.                                   Hudson, NY  12534
  493.                                    (518) 828-8456
  494.  
  495.                                Compuserve: 71511,2217
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.         
  522.  
  523.  
  524.  
  525.  
  526. -----------------------------------------------------------------
  527.         AUTOLOG                                                    Page 8
  528.